<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns="http://www.w3.org/1999/xhtml" xmlns:a4j="http://richfaces.org/a4j" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:st="http://www.whatisjee.com/ssf/tags" xmlns:rich="http://richfaces.org/rich" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:sf="http://www.whatisjee.com/ssf/functions" template="/common/template/#{param['cb'] eq null ? 'header-content' : 'popup'}.xhtml">
	<ui:param name="title" value="#{messages['error']}"/>
	<ui:define name="content">
		<div style="background-color: #FFFF00; color: #FF0000; padding: 5px">
			<h:outputText value="#{messages['error.errMsg']}" rendered="#{param['_code'] ne 404}" />
			<h:outputText value="#{messages['error.404']}" rendered="#{param['_code'] eq 404}" />
		</div>
		<div class="buttons" style="background-color: #FFFF00; text-align: left">
			<input type="button" value="#{messages['error.back']}" class="button" onclick="history.go(-1)" />
		</div>	
	</ui:define>
</ui:composition>
